package com.team.RunsFast_Api.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.team.runsfast.entity.Store;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StoreDao extends BaseMapper<Store> {
    @Select("select * from t_store where id=#{sid} and post < #{price}")
    List<Store> selectPost(Long sid, Double price);
}
